#!/usr/bin/python
# -*- coding: utf-8 -*


def sequentialSearch(target, li):
    # 初始索引值为0
     position = 0
     while position < len(li):
         if target == li[position]:
             # 当前位置的元素值等于了目标值则返回position
             return position
         # 索引值加一
         position += 1
     return -1